.class Lcom/waiqin365/lightapp/kaoqin/cq;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kaoqin/cq;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/cq;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;->dismissProgressDialog()V

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/c/b/g;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/c/b/g;->b()Z

    move-result v1

    if-eqz v1, :cond_2

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/g;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v1, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/g;->b:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/cq;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;->a(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/g;->b:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/cq;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;

    const v2, 0x7f080718

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_1
    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    :cond_0
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "oper_result"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/cq;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;->setResult(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/cq;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;->finish()V

    goto :goto_0

    :cond_1
    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/g;->b:Ljava/lang/String;

    goto :goto_1

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/cq;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;->b(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/g;->b:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/cq;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;

    const v2, 0x7f0806ae

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinCheckActy;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_2
    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_3
    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/c/b/g;->b:Ljava/lang/String;

    goto :goto_2

    :pswitch_data_0
    .packed-switch 0x24
        :pswitch_0
    .end packed-switch
.end method
